/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2022. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * Description:
 * Author: huawei
 * Create: 2019-10-15
 */

#ifndef HILINK_CP_CSR_REG_OFFSET_FIELD_H
#define HILINK_CP_CSR_REG_OFFSET_FIELD_H

#define CP_CSR_0_BIT25_LEN 2
#define CP_CSR_0_BIT25_OFFSET 25
#define CP_CSR_0_BIT22_LEN 3
#define CP_CSR_0_BIT22_OFFSET 22
#define CP_CSR_0_BIT19_LEN 3
#define CP_CSR_0_BIT19_OFFSET 19
#define CP_CSR_0_BIT16_LEN 3
#define CP_CSR_0_BIT16_OFFSET 16
#define CP_CSR_0_BIT10_LEN 6
#define CP_CSR_0_BIT10_OFFSET 10
#define CP_CSR_0_BIT8_LEN 2
#define CP_CSR_0_BIT8_OFFSET 8
#define CP_CSR_0_BIT5_LEN 3
#define CP_CSR_0_BIT5_OFFSET 5
#define CP_CSR_0_BIT0_LEN 5
#define CP_CSR_0_BIT0_OFFSET 0

#define CP_CSR_1_BIT16_LEN 16
#define CP_CSR_1_BIT16_OFFSET 16
#define CP_CSR_1_BIT0_LEN 16
#define CP_CSR_1_BIT0_OFFSET 0

#define CP_CSR_2_BIT28_LEN 3
#define CP_CSR_2_BIT28_OFFSET 28
#define CP_CSR_2_BIT14_LEN 14
#define CP_CSR_2_BIT14_OFFSET 14
#define CP_CSR_2_BIT0_LEN 14
#define CP_CSR_2_BIT0_OFFSET 0

#define CP_CSR_3_BIT14_LEN 1
#define CP_CSR_3_BIT14_OFFSET 14
#define CP_CSR_3_BIT0_LEN 14
#define CP_CSR_3_BIT0_OFFSET 0

#define CP_CSR_4_BIT0_LEN 32
#define CP_CSR_4_BIT0_OFFSET 0

#define CP_CSR_5_BIT0_LEN 32
#define CP_CSR_5_BIT0_OFFSET 0

#define CP_CSR_6_BIT15_LEN 17
#define CP_CSR_6_BIT15_OFFSET 15
#define CP_CSR_6_BIT0_LEN 14
#define CP_CSR_6_BIT0_OFFSET 0

#define CP_CSR_7_BIT22_LEN 10
#define CP_CSR_7_BIT22_OFFSET 22
#define CP_CSR_7_BIT17_LEN 4
#define CP_CSR_7_BIT17_OFFSET 17
#define CP_CSR_7_BIT16_LEN 1
#define CP_CSR_7_BIT16_OFFSET 16
#define CP_CSR_7_BIT8_LEN 8
#define CP_CSR_7_BIT8_OFFSET 8
#define CP_CSR_7_BIT0_LEN 2
#define CP_CSR_7_BIT0_OFFSET 0

#define CP_CSR_8_BIT14_LEN 14
#define CP_CSR_8_BIT14_OFFSET 14
#define CP_CSR_8_BIT0_LEN 14
#define CP_CSR_8_BIT0_OFFSET 0

#define CP_CSR_9_BIT14_LEN 14
#define CP_CSR_9_BIT14_OFFSET 14
#define CP_CSR_9_BIT0_LEN 14
#define CP_CSR_9_BIT0_OFFSET 0

#define CP_CSR_10_BIT0_LEN 32
#define CP_CSR_10_BIT0_OFFSET 0

#define CP_CSR_11_BIT0_LEN 32
#define CP_CSR_11_BIT0_OFFSET 0

#define CP_CSR_12_BIT20_LEN 1
#define CP_CSR_12_BIT20_OFFSET 20
#define CP_CSR_12_BIT19_LEN 1
#define CP_CSR_12_BIT19_OFFSET 19
#define CP_CSR_12_BIT18_LEN 1
#define CP_CSR_12_BIT18_OFFSET 18
#define CP_CSR_12_BIT14_LEN 4
#define CP_CSR_12_BIT14_OFFSET 14
#define CP_CSR_12_BIT0_LEN 14
#define CP_CSR_12_BIT0_OFFSET 0

#define CP_CSR_13_BIT4_LEN 14
#define CP_CSR_13_BIT4_OFFSET 4
#define CP_CSR_13_BIT0_LEN 4
#define CP_CSR_13_BIT0_OFFSET 0

#define CP_CSR_14_BIT23_LEN 1
#define CP_CSR_14_BIT23_OFFSET 23
#define CP_CSR_14_BIT20_LEN 3
#define CP_CSR_14_BIT20_OFFSET 20
#define CP_CSR_14_BIT18_LEN 2
#define CP_CSR_14_BIT18_OFFSET 18
#define CP_CSR_14_BIT16_LEN 2
#define CP_CSR_14_BIT16_OFFSET 16
#define CP_CSR_14_BIT14_LEN 2
#define CP_CSR_14_BIT14_OFFSET 14
#define CP_CSR_14_BIT0_LEN 14
#define CP_CSR_14_BIT0_OFFSET 0

#define CP_CSR_15_BIT19_LEN 1
#define CP_CSR_15_BIT19_OFFSET 19
#define CP_CSR_15_BIT18_LEN 1
#define CP_CSR_15_BIT18_OFFSET 18
#define CP_CSR_15_BIT17_LEN 1
#define CP_CSR_15_BIT17_OFFSET 17
#define CP_CSR_15_BIT16_LEN 1
#define CP_CSR_15_BIT16_OFFSET 16
#define CP_CSR_15_BIT15_LEN 1
#define CP_CSR_15_BIT15_OFFSET 15
#define CP_CSR_15_BIT14_LEN 1
#define CP_CSR_15_BIT14_OFFSET 14
#define CP_CSR_15_BIT10_LEN 4
#define CP_CSR_15_BIT10_OFFSET 10
#define CP_CSR_15_BIT6_LEN 4
#define CP_CSR_15_BIT6_OFFSET 6
#define CP_CSR_15_BIT0_LEN 6
#define CP_CSR_15_BIT0_OFFSET 0

#define CP_CSR_16_BIT22_LEN 4
#define CP_CSR_16_BIT22_OFFSET 22
#define CP_CSR_16_BIT21_LEN 1
#define CP_CSR_16_BIT21_OFFSET 21
#define CP_CSR_16_BIT20_LEN 1
#define CP_CSR_16_BIT20_OFFSET 20
#define CP_CSR_16_BIT19_LEN 1
#define CP_CSR_16_BIT19_OFFSET 19
#define CP_CSR_16_BIT18_LEN 1
#define CP_CSR_16_BIT18_OFFSET 18
#define CP_CSR_16_BIT14_LEN 4
#define CP_CSR_16_BIT14_OFFSET 14
#define CP_CSR_16_BIT10_LEN 4
#define CP_CSR_16_BIT10_OFFSET 10
#define CP_CSR_16_BIT7_LEN 3
#define CP_CSR_16_BIT7_OFFSET 7
#define CP_CSR_16_BIT6_LEN 1
#define CP_CSR_16_BIT6_OFFSET 6
#define CP_CSR_16_BIT3_LEN 3
#define CP_CSR_16_BIT3_OFFSET 3
#define CP_CSR_16_BIT0_LEN 3
#define CP_CSR_16_BIT0_OFFSET 0

#define CP_CSR_17_BIT9_LEN 4
#define CP_CSR_17_BIT9_OFFSET 9
#define CP_CSR_17_BIT8_LEN 1
#define CP_CSR_17_BIT8_OFFSET 8
#define CP_CSR_17_BIT7_LEN 1
#define CP_CSR_17_BIT7_OFFSET 7
#define CP_CSR_17_BIT4_LEN 1
#define CP_CSR_17_BIT4_OFFSET 4
#define CP_CSR_17_BIT3_LEN 1
#define CP_CSR_17_BIT3_OFFSET 3
#define CP_CSR_17_BIT0_LEN 3
#define CP_CSR_17_BIT0_OFFSET 0

#define CP_CSR_18_BIT0_LEN 32
#define CP_CSR_18_BIT0_OFFSET 0

#define CP_CSR_19_BIT0_LEN 32
#define CP_CSR_19_BIT0_OFFSET 0

#define CP_CSR_20_BIT0_LEN 32
#define CP_CSR_20_BIT0_OFFSET 0

#define CP_CSR_21_BIT31_LEN 1
#define CP_CSR_21_BIT31_OFFSET 31
#define CP_CSR_21_BIT30_LEN 1
#define CP_CSR_21_BIT30_OFFSET 30
#define CP_CSR_21_BIT29_LEN 1
#define CP_CSR_21_BIT29_OFFSET 29
#define CP_CSR_21_BIT28_LEN 1
#define CP_CSR_21_BIT28_OFFSET 28
#define CP_CSR_21_BIT27_LEN 1
#define CP_CSR_21_BIT27_OFFSET 27
#define CP_CSR_21_BIT26_LEN 1
#define CP_CSR_21_BIT26_OFFSET 26
#define CP_CSR_21_BIT25_LEN 1
#define CP_CSR_21_BIT25_OFFSET 25
#define CP_CSR_21_BIT24_LEN 1
#define CP_CSR_21_BIT24_OFFSET 24
#define CP_CSR_21_BIT22_LEN 2
#define CP_CSR_21_BIT22_OFFSET 22
#define CP_CSR_21_BIT20_LEN 2
#define CP_CSR_21_BIT20_OFFSET 20
#define CP_CSR_21_BIT19_LEN 1
#define CP_CSR_21_BIT19_OFFSET 19
#define CP_CSR_21_BIT15_LEN 4
#define CP_CSR_21_BIT15_OFFSET 15
#define CP_CSR_21_BIT6_LEN 4
#define CP_CSR_21_BIT6_OFFSET 6
#define CP_CSR_21_BIT4_LEN 2
#define CP_CSR_21_BIT4_OFFSET 4
#define CP_CSR_21_BIT2_LEN 2
#define CP_CSR_21_BIT2_OFFSET 2
#define CP_CSR_21_BIT0_LEN 2
#define CP_CSR_21_BIT0_OFFSET 0

#define CP_CSR_22_BIT0_LEN 20
#define CP_CSR_22_BIT0_OFFSET 0

#define CP_CSR_23_BIT0_LEN 20
#define CP_CSR_23_BIT0_OFFSET 0

#define CP_CSR_24_BIT0_LEN 20
#define CP_CSR_24_BIT0_OFFSET 0

#define CP_CSR_25_BIT0_LEN 20
#define CP_CSR_25_BIT0_OFFSET 0

#define CP_CSR_26_BIT0_LEN 20
#define CP_CSR_26_BIT0_OFFSET 0

#define CP_CSR_27_BIT0_LEN 20
#define CP_CSR_27_BIT0_OFFSET 0

#define CP_CSR_28_BIT0_LEN 32
#define CP_CSR_28_BIT0_OFFSET 0

#define CP_CSR_29_BIT0_LEN 32
#define CP_CSR_29_BIT0_OFFSET 0

#define CP_CSR_30_BIT0_LEN 32
#define CP_CSR_30_BIT0_OFFSET 0

#define CP_CSR_31_BIT0_LEN 32
#define CP_CSR_31_BIT0_OFFSET 0

#define CP_CSR_32_BIT0_LEN 32
#define CP_CSR_32_BIT0_OFFSET 0

#define CP_CSR_33_BIT30_LEN 1
#define CP_CSR_33_BIT30_OFFSET 30
#define CP_CSR_33_BIT29_LEN 1
#define CP_CSR_33_BIT29_OFFSET 29
#define CP_CSR_33_BIT28_LEN 1
#define CP_CSR_33_BIT28_OFFSET 28
#define CP_CSR_33_BIT27_LEN 1
#define CP_CSR_33_BIT27_OFFSET 27
#define CP_CSR_33_BIT26_LEN 1
#define CP_CSR_33_BIT26_OFFSET 26
#define CP_CSR_33_BIT25_LEN 1
#define CP_CSR_33_BIT25_OFFSET 25
#define CP_CSR_33_BIT24_LEN 1
#define CP_CSR_33_BIT24_OFFSET 24
#define CP_CSR_33_BIT23_LEN 1
#define CP_CSR_33_BIT23_OFFSET 23
#define CP_CSR_33_BIT0_LEN 23
#define CP_CSR_33_BIT0_OFFSET 0

#define CP_CSR_34_BIT20_LEN 1
#define CP_CSR_34_BIT20_OFFSET 20
#define CP_CSR_34_BIT19_LEN 1
#define CP_CSR_34_BIT19_OFFSET 19
#define CP_CSR_34_BIT18_LEN 1
#define CP_CSR_34_BIT18_OFFSET 18
#define CP_CSR_34_BIT16_LEN 2
#define CP_CSR_34_BIT16_OFFSET 16
#define CP_CSR_34_BIT14_LEN 2
#define CP_CSR_34_BIT14_OFFSET 14
#define CP_CSR_34_BIT13_LEN 1
#define CP_CSR_34_BIT13_OFFSET 13
#define CP_CSR_34_BIT10_LEN 3
#define CP_CSR_34_BIT10_OFFSET 10
#define CP_CSR_34_BIT9_LEN 1
#define CP_CSR_34_BIT9_OFFSET 9
#define CP_CSR_34_BIT8_LEN 1
#define CP_CSR_34_BIT8_OFFSET 8
#define CP_CSR_34_BIT6_LEN 2
#define CP_CSR_34_BIT6_OFFSET 6
#define CP_CSR_34_BIT4_LEN 2
#define CP_CSR_34_BIT4_OFFSET 4
#define CP_CSR_34_BIT3_LEN 1
#define CP_CSR_34_BIT3_OFFSET 3
#define CP_CSR_34_BIT0_LEN 3
#define CP_CSR_34_BIT0_OFFSET 0

#define CP_CSR_35_BIT30_LEN 2
#define CP_CSR_35_BIT30_OFFSET 30
#define CP_CSR_35_BIT28_LEN 2
#define CP_CSR_35_BIT28_OFFSET 28
#define CP_CSR_35_BIT26_LEN 2
#define CP_CSR_35_BIT26_OFFSET 26
#define CP_CSR_35_BIT24_LEN 2
#define CP_CSR_35_BIT24_OFFSET 24
#define CP_CSR_35_BIT22_LEN 2
#define CP_CSR_35_BIT22_OFFSET 22
#define CP_CSR_35_BIT20_LEN 2
#define CP_CSR_35_BIT20_OFFSET 20
#define CP_CSR_35_BIT18_LEN 2
#define CP_CSR_35_BIT18_OFFSET 18
#define CP_CSR_35_BIT16_LEN 2
#define CP_CSR_35_BIT16_OFFSET 16
#define CP_CSR_35_BIT14_LEN 2
#define CP_CSR_35_BIT14_OFFSET 14
#define CP_CSR_35_BIT12_LEN 2
#define CP_CSR_35_BIT12_OFFSET 12
#define CP_CSR_35_BIT10_LEN 2
#define CP_CSR_35_BIT10_OFFSET 10
#define CP_CSR_35_BIT8_LEN 2
#define CP_CSR_35_BIT8_OFFSET 8
#define CP_CSR_35_BIT6_LEN 2
#define CP_CSR_35_BIT6_OFFSET 6
#define CP_CSR_35_BIT4_LEN 2
#define CP_CSR_35_BIT4_OFFSET 4
#define CP_CSR_35_BIT2_LEN 2
#define CP_CSR_35_BIT2_OFFSET 2
#define CP_CSR_35_BIT0_LEN 2
#define CP_CSR_35_BIT0_OFFSET 0

#define CP_CSR_36_BIT30_LEN 2
#define CP_CSR_36_BIT30_OFFSET 30
#define CP_CSR_36_BIT28_LEN 2
#define CP_CSR_36_BIT28_OFFSET 28
#define CP_CSR_36_BIT26_LEN 2
#define CP_CSR_36_BIT26_OFFSET 26
#define CP_CSR_36_BIT24_LEN 2
#define CP_CSR_36_BIT24_OFFSET 24
#define CP_CSR_36_BIT22_LEN 2
#define CP_CSR_36_BIT22_OFFSET 22
#define CP_CSR_36_BIT20_LEN 2
#define CP_CSR_36_BIT20_OFFSET 20
#define CP_CSR_36_BIT18_LEN 2
#define CP_CSR_36_BIT18_OFFSET 18
#define CP_CSR_36_BIT16_LEN 2
#define CP_CSR_36_BIT16_OFFSET 16
#define CP_CSR_36_BIT14_LEN 2
#define CP_CSR_36_BIT14_OFFSET 14
#define CP_CSR_36_BIT12_LEN 2
#define CP_CSR_36_BIT12_OFFSET 12
#define CP_CSR_36_BIT10_LEN 2
#define CP_CSR_36_BIT10_OFFSET 10
#define CP_CSR_36_BIT8_LEN 2
#define CP_CSR_36_BIT8_OFFSET 8
#define CP_CSR_36_BIT6_LEN 2
#define CP_CSR_36_BIT6_OFFSET 6
#define CP_CSR_36_BIT4_LEN 2
#define CP_CSR_36_BIT4_OFFSET 4
#define CP_CSR_36_BIT2_LEN 2
#define CP_CSR_36_BIT2_OFFSET 2
#define CP_CSR_36_BIT0_LEN 2
#define CP_CSR_36_BIT0_OFFSET 0

#define CP_CSR_37_BIT6_LEN 2
#define CP_CSR_37_BIT6_OFFSET 6
#define CP_CSR_37_BIT4_LEN 2
#define CP_CSR_37_BIT4_OFFSET 4
#define CP_CSR_37_BIT2_LEN 2
#define CP_CSR_37_BIT2_OFFSET 2
#define CP_CSR_37_BIT0_LEN 2
#define CP_CSR_37_BIT0_OFFSET 0

#define CP_CSR_38_BIT11_LEN 2
#define CP_CSR_38_BIT11_OFFSET 11
#define CP_CSR_38_BIT7_LEN 4
#define CP_CSR_38_BIT7_OFFSET 7
#define CP_CSR_38_BIT6_LEN 1
#define CP_CSR_38_BIT6_OFFSET 6
#define CP_CSR_38_BIT5_LEN 1
#define CP_CSR_38_BIT5_OFFSET 5
#define CP_CSR_38_BIT4_LEN 1
#define CP_CSR_38_BIT4_OFFSET 4
#define CP_CSR_38_BIT3_LEN 1
#define CP_CSR_38_BIT3_OFFSET 3
#define CP_CSR_38_BIT2_LEN 1
#define CP_CSR_38_BIT2_OFFSET 2
#define CP_CSR_38_BIT1_LEN 1
#define CP_CSR_38_BIT1_OFFSET 1
#define CP_CSR_38_BIT0_LEN 1
#define CP_CSR_38_BIT0_OFFSET 0

#define CP_CSR_39_BIT11_LEN 2
#define CP_CSR_39_BIT11_OFFSET 11
#define CP_CSR_39_BIT7_LEN 4
#define CP_CSR_39_BIT7_OFFSET 7
#define CP_CSR_39_BIT6_LEN 1
#define CP_CSR_39_BIT6_OFFSET 6
#define CP_CSR_39_BIT5_LEN 1
#define CP_CSR_39_BIT5_OFFSET 5
#define CP_CSR_39_BIT4_LEN 1
#define CP_CSR_39_BIT4_OFFSET 4
#define CP_CSR_39_BIT3_LEN 1
#define CP_CSR_39_BIT3_OFFSET 3
#define CP_CSR_39_BIT2_LEN 1
#define CP_CSR_39_BIT2_OFFSET 2
#define CP_CSR_39_BIT1_LEN 1
#define CP_CSR_39_BIT1_OFFSET 1
#define CP_CSR_39_BIT0_LEN 1
#define CP_CSR_39_BIT0_OFFSET 0

#define CP_CSR_40_BIT13_LEN 1
#define CP_CSR_40_BIT13_OFFSET 13
#define CP_CSR_40_BIT11_LEN 2
#define CP_CSR_40_BIT11_OFFSET 11
#define CP_CSR_40_BIT7_LEN 4
#define CP_CSR_40_BIT7_OFFSET 7
#define CP_CSR_40_BIT6_LEN 1
#define CP_CSR_40_BIT6_OFFSET 6
#define CP_CSR_40_BIT5_LEN 1
#define CP_CSR_40_BIT5_OFFSET 5
#define CP_CSR_40_BIT4_LEN 1
#define CP_CSR_40_BIT4_OFFSET 4
#define CP_CSR_40_BIT3_LEN 1
#define CP_CSR_40_BIT3_OFFSET 3
#define CP_CSR_40_BIT2_LEN 1
#define CP_CSR_40_BIT2_OFFSET 2
#define CP_CSR_40_BIT1_LEN 1
#define CP_CSR_40_BIT1_OFFSET 1
#define CP_CSR_40_BIT0_LEN 1
#define CP_CSR_40_BIT0_OFFSET 0

#endif // HILINK_CP_CSR_REG_OFFSET_FIELD_H
